\psset{yunit=0.8,xunit=1.5,algebraic}
\begin{pspicture*}(-0.5,-2.5)(4,2.5)
\psaxes[ticks=none,labels=none]{<->}(0,0)(-0.5,-2.5)(4,2.5)
\pscustom[linecolor=blue]{%
\psplot{1}{3}{x^3-6*x^2+9*x-2}
\gsave
\psline(3,0)(1,0)
\fill[fillstyle=solid,fillcolor=yellow]
\grestore
\psplot{3}{3.2}{x^3-6*x^2+9*x-2}}
\psplot[linecolor=blue]{0.6}{1}{x^3-6*x^2+9*x-2}
\psline[linecolor=gray](1,-0.1)(1,2)
\psline[linecolor=gray](3,0.1)(3,-2)
\psline[linecolor=gray](2,0.1)(2,-0.1)
\psxTick[ticksize=-3pt 0,labelsep=3pt](1){a}
\psxTick[ticksize=3pt 0,labelsep=-14pt](3){b}
\psxTick[ticksize=-3pt 0,labelsep=3pt](2){c}
\rput[l](1,0.5){\small$\int_a^c f(x)\,dx$}
\rput[r](3,-0.5){\small$-\int_c^b f(x)\,dx$}
\rput[l](3.5,-1.5){$f(x)$}
\end{pspicture*}